package com.springmvc.web.constant;

/**
 * springmvc常量类
 */
public class Const {
    /**
     * web.xml中配置的DispatcherServlet的初始化参数的 contextConfigLocation 的名字
     */
    public static final String CONTEXT_CONFIG_LOCATION = "contextConfigLocation";

    /**
     * contextConfigLocation的前缀
     */
    public static final String PREFIX_CLASSPATH = "classpath:";

    /**
     * webApplicationContext
     */
    public static final String WEB_APPLICATION_CONTEXT = "webApplicationContext";

    /**
     * 默认视图所在的包名
     */
    public static final String DEFAULT_PACKAGE ="org.springmvc.web.servlet.mvc.method.annotation";

    public static final String BASE_PACKAGE = "base-package";


    public static final String SUFFIX_CLASS = ".class";

    /**
     *  web.xml中的bean标签的class属性
     */
    public static final String BEAN_TAF_CLASS_ATTRIBUTE = "class";

    public static final String PROPERTY_TAG_NAME = "property";

    public static final String PROPERTY_NAME = "name";
    public static final String PROPERTY_VALUE = "value";

    public static final String VIEW_RESOLVER = "viewResolver";

    public static final String INTERCEPTORS = "interceptors";
    public static final String HANDLER_MAPPING = "handlerMapping";
    public static final String HANDLER_ADAPTER = "handlerAdapter";




}
